package com.wlkj.action.party;

import com.jfinal.core.Controller;
import com.jfinal.kit.HttpKit;
import com.wlkj.config.UrlKit;

public class PartyAction extends Controller {

	public void getParty() {
		String param = HttpKit.readData(this.getRequest());
		System.out.println("param :: " + param);
		String result = HttpKit.post(UrlKit.getParty, param);
		renderJson(result);
	}

	public void modifyBaseInf() {
		String param = HttpKit.readData(this.getRequest());
		System.out.println("param :: " + param);
		String result = HttpKit.post(UrlKit.modifyBaseInf, param);
		renderJson(result);
	}

	public void uploadAvator() {
		String param = HttpKit.readData(this.getRequest());
		System.out.println("param :: " + param);
		String result = HttpKit.post(UrlKit.uploadAvator, param);
		renderJson(result);
	}
	
	public void partyReport() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.partyMemberReport, param);
		renderJson(result);
	}
}
